const DB = require('../../utils/db');
module.exports = {
	list: async (id) => {
		let sql = `select *, date_format(createTime,'%Y-%m-%d %H:%i:%s') createTime,date_format(updateTime,'%Y-%m-%d %H:%i:%s') updateTime from t_setting where id=?`;

		let [list] = await DB.query(sql, [id]);
		return list[0];
	}
};
